package com.ccsc.auth.entity.vi;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 部门
 * Created by yyangs on 2017/2/10.
 */
public class DepartmentVi {
    private Integer id;//部门id
    @NotEmpty(message = "{depname.not.empty}")
    private String name;//名称
    private Integer pId;//父部门id

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }
}
